//
//  ViewController.h
//  myhuibao
//
//  Created by lijun on 13-2-4.
//  Copyright (c) 2013年 myhuibao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LeveyPopListView.h"
#import "PMCalendar.h"
@protocol UIViewPassValueDelegate
- (void)passBoxNames:(NSString *)boxNames withIds:(NSString *) Ids;
@end
@interface BookViewController : UIViewController<LeveyPopListViewDelegate,PMCalendarControllerDelegate,UIViewPassValueDelegate,UITextFieldDelegate,UITextViewDelegate>{
    int selectIndex;
    int cityId;
    int areaId;
    int diningTime;
    int capacityId;
    int boxType;
    NSString *diningDate;
    NSString *boxIds;
    NSString *merchantName;

    NSMutableArray *arrayCity;
    NSMutableArray *arrayArea;
    NSMutableArray *arrayDiningTime;
    NSMutableArray *arrayBoxType;
    NSMutableArray *arrayCapacity;
    
    NSMutableArray *arrayTime;
    NSMutableArray *arrayMinute;
    int _selectedIndex,_selectedIndex1,_selectedIndex2,_selectedIndex3;
    int diningHour,diningMin;
}
- (IBAction)doBack:(id)sender;

- (IBAction)showDiningTime:(id)sender;
- (IBAction)showCanlendar:(id)sender;
- (IBAction)doBook:(id)sender;
@property (strong, nonatomic) IBOutlet UITextField *tbBoxType;
- (IBAction)showBoxType:(id)sender;
@property (strong, nonatomic) IBOutlet UIView *mainView;
@property (strong, nonatomic) IBOutlet UIView *otherView;
@property (strong, nonatomic) IBOutlet UITextField *tbTime;
- (IBAction)showTime:(id)sender;
@property (strong, nonatomic) IBOutlet UITextField *tbDate;
@property (strong, nonatomic) IBOutlet UITextField *tbDiningNumber;
@property (strong, nonatomic) IBOutlet UITextView *tbMemo;
@property (strong, nonatomic) IBOutlet UIButton *btBook;
@property (strong, nonatomic) IBOutlet UILabel *lbTitle;
@property (assign) int merchantId;
@property (strong, nonatomic) NSString *boxIds;
@property (strong, nonatomic) IBOutlet UIView *viewBox;
@property (strong, nonatomic) NSString *merchantName;
@property (strong, nonatomic) IBOutlet UITextField *tfMinute;
@property (strong, nonatomic) IBOutlet UIView *vTime;
@property (strong, nonatomic) IBOutlet UIView *vMinute;
@property (strong, nonatomic) IBOutlet UITextField *tfTime;
@property (assign) bool showBox;
@property (assign) int merchantType;
- (IBAction)showMinute:(id)sender;
@end
